/**
 * Created by Administrator on 2018/7/19.
 */
function userNamea() {
document.getElementById("user_name3").innerHTML="设置后不可更改" +'\n'+"中英文均可，最长14个英文或7个汉字"
}
function userNameb() {
     var x = document.forms["user_name1"]["user_name2"].value;
     if(x.length<1||x.length>15) {
         document.getElementById("user_name3").innerHTML = ""
         alert(src = "err_small.png")
     }
     else
     {   document.getElementById("user_name3").innerHTML=""
         alert(src="ok_small.png")
     }
}
function userPhnoea() {
document.getElementById("user_phone3").innerHTML="请输入中国大陆手机号，其他用户不可见"
}
function userPhoneb() {
     var x = document.forms["user_phone1"]["user_phone2"].value;
     if(x.length<1||x.length>15) {
         document.getElementById("user_phone3").innerHTML = ""
         alert(src = "err_small.png")
     }
     else
     {   document.getElementById("user_phone3").innerHTML=""
         alert(src="ok_small.png")
     }

}
function userPassworda() {
document.getElementById("user_password3").innerHTML="长度为6~14个字符支持数字,大小写字母和标点符号，不允许有空格"
}
function userPasswordb() {
     var x = document.forms["user_password1"]["user_password2"].value;
     if(x.length<1||x.length>15) {
         document.getElementById("user_password3").innerHTML = ""
         alert(src = "err_small.png")
     }
     else
     {   document.getElementById("user_password3").innerHTML=""
         alert(src="ok_small.png")
     }

}
